package secondkill.service;

import com.baomidou.mybatisplus.extension.service.IService;
import org.springframework.stereotype.Repository;
import secondkill.pojo.TGoods;
import secondkill.vo.GoodsVo;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 * @author Dzy
 * @since 2022-01-19
 */

public interface ITGoodsService extends IService<TGoods> {
    /**
     * 获取商品列表
     * @return java.util.List<secondkill.vo.GoodsVo>
     * @create 2022/1/20 12:36
     */
    List<GoodsVo> findGoodsVoList();

    /**
     * 获取商品详情
     * @param goodsId
     * @return secondkill.vo.GoodsVo 
     * @create 2022/1/20 12:39
     */
    GoodsVo findGoodsVoByGoodId(Long goodsId);
}
